Transaction management mechanisms for active and real-time databases: A comprehensive protocol and a performance study
نویسندگان
چکیده
Active and real-time databases (ARTDB) have a variety of applications in electronic brokerages in ®nancial markets, stock trading, network management and manufacturing process control. Transaction processing (TP) in ARTDB is extremely complicated since transactions may trigger other real-time transactions to an arbitrary depth with various types of dependencies (coupling modes). Therefore, transaction processing must be cognizant of not only the time deadlines but also the types of semantic dependencies with other transactions. The con ̄ict resolution between two transactions cannot be considered in isolation since aecting one transaction may aect every other semantically dependent transaction. Similarly, transaction scheduling needs to be compatible with the concurrency control to avoid unnecessary restarts. In this paper we argue that transaction pre-analysis using the pre-declaration paradigm is an ecient mechanism to integrate the various issues of transaction processing such as concurrency control, scheduling, and semantic dependencies. The pre-analysis is possible since in many applications transactions repeat from a set of transaction classes, and the con ̄icts can be easily determined at a logical level by partitioning relations into mutually exclusive subset (e.g., by stock-id in ®nancial applications). We develop a pre-analysis based transaction processing mechanism called OCCWB. OCCWB is an extended optimistic concurrency control protocol with blocking that combines the bene®ts of both optimistic and lock based protocols. Such an approach also has an implicit overload management mechanism required in many applications. OCCWB consists of four phases, namely, transaction pre-analysis, serialization ordering, priority adjustment and priority wait. Our protocol is validated using simulation and is shown to outperform existing protocols under various workload and parameter settings. Ó 1998 Elsevier Science Inc. All rights reserved.
منابع مشابه
ACTIVE-A Real Time Commit Protocol
Many existing real time commit protocols try to improve system performance by allowing a committing cohort to lend its data to an executing cohort, thus reducing data inaccessibility. They block the borrower from sending WORKDONE/PREPARED message and restrict them from lending data so that transaction abort chain is limited to one. Thus, transaction execution time increases. This paper proposes...
متن کاملAn Adaptive Congestion Alleviating Protocol for Healthcare Applications in Wireless Body Sensor Networks: Learning Automata Approach
Wireless Body Sensor Networks (WBSNs) involve a convergence of biosensors, wireless communication and networks technologies. WBSN enables real-time healthcare services to users. Wireless sensors can be used to monitor patients’ physical conditions and transfer real time vital signs to the emergency center or individual doctors. Wireless networks are subject to more packet loss and congestion. T...
متن کاملTowards a Model of Concurrency to achieve Temporal Consistency in Long Duration Transaction Processing in Real Time Active Database System
This paper presents modeling of the transaction in the real time active database management systems. Active database with ECA rule has been found to provide an elegant framework to capture semantics of many real life applications. Real time database management system functions as a repository of data and provides storage and retrieval of data. Transactions, which update the database, are assign...
متن کاملBu er Management in Real - Time Databases
Buuer management plays a very important role in database systems. But little work has been done to study buuer management in real-time database systems. In this work, we propose and evaluate algorithms for real-time oriented buuer allocation and buuer replacement based on the existing organization of a real-time database testbed. Our goal is to increase the percentage of transactions meeting th...
متن کاملA New Transaction Scheduling Scheme for Active Real-time Database Systems: Space-Filling Curve
This paper presents the space-filling curves and their applicability in scheduling, especially in transaction scheduling in Active Real-time Database Systems (ARTDBS). Active real-time databases have emerged as a research area in which concepts of active databases and real-time databases are combined into a real-time database with reactive behaviour. A novel space-filling curve based approach f...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Journal of Systems and Software
دوره 42 شماره
صفحات -
تاریخ انتشار 1998